package com.example.czxyproduct.mapper;

import com.yc.czxy.Mapper.BaseMapper;
import com.yc.czxy.bean.Category;
import com.yc.czxy.bean.Categorysecond;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CategoryMapper extends BaseMapper<Category> {

    @Select("select *from category")
    List<Category> selectAllCategory();



    @Select("select * from categorysecond where cid=#{cid} ")
    List<Categorysecond> selectCategorySecondBycid(Integer cid);
}
